alter table to add constraint